import request from '@/utils/request'

// 查询项目考察列表
export function listProjExplore(query) {
  return request({
    url: '/cooperate/projExplore/list',
    method: 'get',
    params: query
  })
}

// 查询项目考察详细
export function getProjExplore(id) {
  return request({
    url: '/cooperate/projExplore/detail/' + id,
    method: 'get'
  })
}

// 新增项目考察
export function addProjExplore(data) {
  return request({
    url: '/cooperate/projExplore/add',
    method: 'post',
    data: data
  })
}

// 修改项目考察
export function updateProjExplore(data) {
  return request({
    url: '/cooperate/projExplore/update',
    method: 'post',
    data: data
  })
}

// 删除项目考察
export function delProjExplore(id) {
  return request({
    url: '/cooperate/projExplore/delete/' + id,
    method: 'get'
  })
}

// 项目考察评估
export function assess(data) {
  return request({
    url: '/cooperate/projExplore/assess',
    method: 'post',
    data: data
  })
}